/**
 * 
 */
package chatsystem;

/**
 * @author Thibaut POUZET
 *
 */
public class Contact {

	private String address;
	private String nickname;
	
	public Contact(String name, String address) {
		this.address = address;
		this.nickname = name;
	}

	public String getNickname() {
		return nickname;
	}
	
	public void setNickname(String val) {
		this.nickname = val;
	}
	
	public String getAddress() {
		return this.address;
	}
	
	public void setAddress(String val) {
		this.address = val;
	}
	
	public String toString() {
		String temp= "Nickname : "+nickname+" - Address : "+address;
		return temp;
	}
	
}
